package com.yx.robot.bean.message;

public class IotMessage {
    public  static final int TYPE_ERROR=1;
    public  static final int TYPE_DEVICE=2;
    public  static final int TYPE_NOTIFY=3;
    private String id;
    private String msgSrcId;
    private long time;
    private String dateTime;
    private String title;
    private String content;
    private int type;
    private boolean isRead;
    private String icon;

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getMsgSrcId() {
        return msgSrcId;
    }

    public void setMsgSrcId(String msgSrcId) {
        this.msgSrcId = msgSrcId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public boolean isRead() {
        return isRead;
    }

    public void setRead(boolean read) {
        isRead = read;
    }
}
